.layout {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    &.collapse > aside {
        flex: 0 0 64px;
    }
    > aside {
        flex: 0 0 240px;
        overflow: auto;
        overflow-x: hidden;
        width: 0;
        transition: all .25s linear;
        border-right: solid 1px #ddd;
        background-color: #001529;
        .el-menu{
            border: none;
        }
        header{
            display: block;
            position: relative;
            padding-left: 80px;
            font-size: 16px;
            color: #fff;
            line-height: 48px;
            border-bottom: solid 1px #fff;
            white-space: nowrap;
            overflow: hidden;
            &::before{
                content: '';
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 65px;
                height: 48px;
                
                background: url(../../images/logo.png) center center / 36px 36px no-repeat;
            }
        }
        > section {
            display: block;
            width: 241px;
            height: calc(100% - 49px);
            overflow-x: hidden;
            i{
                font-size: 20px;
                margin-right: 10px;
            }
        }
    }
    > main {
        // flex有一个内容溢出问题、盒子撑破问题
        // 直接为弹性盒加一个width: 0;

        flex: 1;
        width: 0;
        > nav {
            width: 100%;
            display: block;
            height: 32px;
            padding: 8px 12px;
            box-shadow: 0 0 10px rgba(255, 255, 255, .3);
            border-bottom: solid 1px #ddd;
            >span{
                height: 32px;
                line-height: 32px;
                font-size: .9rem;
                margin-left: 8px;
                color: #999;
            }
            >.left{
                float: left;
            }
            >.right{
                display: inline;
                >.el-col{
                    float: right;
                    width: 80px;
                    height: 32px;
                    line-height: 32px;
                }
            }
        }
        > article {
            display: block;
            height: calc(100% - 48px);
            padding: 12px;
            > .content {
                display: block;
                position: relative;
                height: 100%;
                background-color: #fff;
            }
        }
    }
}